package com.lu.pojo.oop.instance;

public class Graduate extends Student {
    public String major="IT";

    @Override
    public String getInfo() {
        return "Name:"+name+"\n"+"age:"+age+"\n"+"School:"+school+"\n"+"major:"+major;
    }
}
